package com.nlscan.ncomgateway.core.newland.entity

data class BroadcastOutputParams(
    var exScannerAction: String = "",
    var exScannerExtraBarcode: String = "",
    var exScannerExtraDeviceName: String = "",
    var exScannerExtraAddress: String = "",
    var exScannerExtraSerialNumber: String = "",
    var exScannerExtraBarcodeType: String = "",
    var exScannerExtraBarcodeTypeName:String = "",
    val scannerAction: String = "",
    val scannerExtraBarcode: String = "",
    val scannerExtraBarcode2: String = "",
    val scannerExtraBarcodeType: String = "",
    val scannerExtraBarcodeTypeName: String = "",
    val ocrAction: String = "",
    val ocrExtraResultParamName: String = "",
//    val ocrExtraBarcode: String = "",
//    val ocrExtraRegexResult: String = "",
    val ocrExtraConfidence: String = "",
    val ocrExtraAllConfidence: String = "",
    val ocrExtraCoordinate: String = "",
    val ocrExtraOriginalData: String = "",
    val ocrExtraImage: String = "",
//    val ocrExtraSendImageEnable: String = "",
) {

    //------------------- OCR相关 BEGIN -------------------------------/

    /*
        OCR相关

    设置内容+默认值
{
"note": "广播action",
"key": "nlsOcrSendResultAction",
"view_type": "edittext",
"default": "nlscan.action.OCR_RESULT"
},
{
"note": "条码extra",
"key": "nlsOcrSendResultExtraBarcode",
"view_type": "edittext",
"default": "barcode"
},
{
"note": "OCR结果extra",
"key": "nlsOcrSendResultExtraRegexResult",
"view_type": "edittext",
"default": "content"
},
{
"note": "置信度extra",
"key": "nlsOcrSendResultExtraConfidence",
"view_type": "edittext",
"default": "confidence"
},
{
"note": "所有单字的置信度extra",
"key": "nlsOcrSendResultExtraAllConfidence",
"view_type": "edittext",
"default": "allConfidence"
},
{
"note": "坐标extra",
"key": "nlsOcrSendResultExtraCoordinate",
"view_type": "edittext",
"default": "coordinate"
},
{
"note": "OCR详细数据extra",
"key": "nlsOcrSendResultExtraOriginalData",
"view_type": "edittext",
"default": "originalData"
},
{
"note": "成功图片extra",
"key": "nlsOcrSendResultExtraImage",
"view_type": "edittext",
"default": "jpegData"
},
{
"note": "OCR结果是否发送图片",
"key": "nlsOcrSendImageEnable",
"view_type": "switch",
"default": "true"
}

----------------
翻译

"nlsOcrSendResultAction_title": {
"en-rUS": "Broadcast action",
"zh-rCN": "广播action",
"ja-rJP": "ブロードキャストaction"
},
"nlsOcrSendResultExtraBarcode_title": {
"en-rUS": "barcode extra",
"zh-rCN": "条码extra",
"ja-rJP": "バーコードextra"
},
"nlsOcrSendResultExtraRegexResult_title": {
"en-rUS": "OCR result extra",
"zh-rCN": "OCR结果extra",
"ja-rJP": "OCR結果extra"
},
"nlsOcrSendResultExtraConfidence_title": {
"en-rUS": "Confidence extra",
"zh-rCN": "置信度extra",
"ja-rJP": "信頼性extra"
},
"nlsOcrSendResultExtraAllConfidence_title": {
"en-rUS": "All confidence extra",
"zh-rCN": "所有字符的置信度extra",
"ja-rJP": "全ての文字の信頼度extra"
},
"nlsOcrSendResultExtraCoordinate_title": {
"en-rUS": "Coordinate extra",
"zh-rCN": "坐标extra",
"ja-rJP": "座標extra"
},
"nlsOcrSendResultExtraImage_title": {
"en-rUS": "OCR image result extra",
"zh-rCN": "成功图片extra",
"ja-rJP": "OCR画像extra"
},
"nlsOcrSendResultExtraOriginalData_title": {
"en-rUS": "OCR Detailed data extra",
"zh-rCN": "OCR详细数据extra",
"ja-rJP": "OCR詳細データextra"
},
"nlsOcrSendImageEnable_title": {
"en-rUS": "Whether to send pictures of OCR results",
"zh-rCN": "OCR结果是否发送图片",
"ja-rJP": "OCR結果の写真を送信するかどうか"
},

     */

    //------------------- OCR相关 END -------------------------------/


}
